package com.zhike.mapper;

import com.zhike.domain.DwsTripWindow;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
* @author ASUS
* @description 针对表【dws_trip_window(车辆行驶表)】的数据库操作Mapper
* @createDate 2024-04-30 13:57:36
* @Entity com.zhike.pojo.DwsTripWindow
*/
public interface DwsTripWindowMapper extends BaseMapper<DwsTripWindow> {

    @MapKey("date")
    List<Map> getAvgSpeedToday(String date);

    @MapKey("date")
    List<Map> getMileageToday(String date);

    @MapKey("date")
    List<Map> getNumToday(String date);

    @MapKey("date")
    List<Map> getAvgSpeedWeek(String date);

    @MapKey("date")
    List<Map> getMileageWeek(String date);

    @MapKey("date")
    List<Map> getNumWeek(String date);
}




